home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BCI NET
/
BCI NET Dec 94.iso
/
archives
/
telecomm
/
bbs
/
ctdlaux_src.lha
/
Aux.Doc
< prev
next >
Wrap
Text File
|
1994-01-12
|
3KB
|
105 lines
Aux-Handler V1.0 (c) Copyright Steve Drew 1987
---------------- Calgary, Ab. Canada.
This version modified by Tony Preston, 1994 for Citadel usage.
I. Desciption:
- Installs as a dos handler to control the serial port as a console.
- Support all relevent dos packets including WaitForChar and
ACTION_SCREEN_MODE.
- To your process it looks just like a CON: handler, screening
control chars doing CRLF translations and handling deletes ect...
- Can be made into a RAW console via ACTION_SCREEN_MODE, it then
acts like a RAW console which does not echo characters or handle
control chars, but just passes all keys entered back to the process.
This would allow you to implement a ANSI style screen editor like
maybe MicroEMACS 3.x to work through AUX:. Now thats a multiuser
system!
II. Installation:
1. Insert the included MOUNTLIST file into you DEVS:MOUNTLST
2. Copy the ctdl-Handler to the l: directory
3. Enter Mount ctdl-aux: to load the driver.
III Using
- 'NEWCLI CTDL-AUX:' will start a cli on the Serial port.
- <BS> <DEL> both delete last char typed.
- ^X or ^U delete entire line.
- ^S / ^Q stop/start screen display (if XON/XOFF selected under prefs.)
IV Notes:
- Setups':
The CTDL-Handler opens the serial port with its current
settings (as set up in preferences).
However you may specify if you want ECHO, CRLF, or
RAW Mode on/off via specifiying keyword 'Set':
Newcli CTDL-AUX:Set/E:[On/Off]/C:[On/Off]/R:[On/Off]
for example to set Raw off, Echo off and CRLF on.
Newcli CTDL-AUX:Set/e:off/c:on/r:off
Case is insensitive. The default if any parameters
not specified is:
Echo ON, Raw Off, CRLF ON.
- Killing A CLI:
Normally you just do a ENDCLI. However if you had
some one in over a modem or fired it up by mistake
you can force an ENDCLI command to be sent to the
process by doing a 'ECHO >CTDL-AUX:ENDCLI' from another
CLI.
PATCH TO MAKE MicroEmacs 3.x run through AUX:
---------------------------------------------
(This was even easier than I thought it would be!)
Just add the indicated lines below (=>) to the 'termio.c' module and
recompile.
What it does: When invoked emacs will now only open a RAW window if 'Run',
if you just invoke emacs eg: '1> emacs file' from it will change the console
to RAW mode and use that. Since my CTDL-HANDLER supports RAW mode it works
the same way to a ansi (vt100) style terminal.
ttopen()
{
#if AMIGA
=> extern int Enable_Abort;
=>
=> Enable_Abort = 0;
=> if (IsInteractive(Input()) && IsInteractive(Output())) {
=> terminal = (long)Output();
=> set_raw();
=> }
=> else
terminal = Open("RAW:0/0/640/200/MicroEMACS 3.8b", NEW);
#endif
ttclose()
{
#if AMIGA
amg_flush();
=> if (Output() != terminal)
Close(terminal);
=> else
=> set_con();
#endif